﻿@model IEnumerable<YTCMS.Domain.Entities.columnproduct>
@using YTCMS.Core;
<table id="sample-table-2" class="table table-striped table-bordered table-hover dataTable" aria-describedby="sample-table-2_info">
    <thead>
        <tr role="row">
            
            <th>
                线路名称
            </th>
            <th>
                模块
            </th>
            <th>
                栏目
            </th>
            <th>
                排序
            </th>
            <th>
                创建时间
            </th>
            <th>
                操作
            </th>
        </tr>
    </thead>


    <tbody role="alert" aria-live="polite" aria-relevant="all">
        @foreach (var item in Model)
        {
            <tr class="odd">
                <td class=" ">
                    <a href="/Product/Edit?Id=@item.products.Id">@item.products.Name</a>
                </td>
                <td class=" ">@item.module.Name</td>
                <td class="hidden-480 ">@item.cmscolumn.Title</td>
                <td class="sort">@item.Sort</td>
                <td class=" ">@item.CreateTime</td>
                <td>
                    <a class="green" href="javascript:void(0)" title="修改" name="edit" value="@item.Id">
                        <i class="icon-edit bigger-120"></i>修改
                    </a>
                    <a class="btn btn-xs btn-danger" href="javascript:void(0)" onclick="WZTLabDelete('/Cmscolumn/DeleteColumnProduct', {id:@item.Id})">
                        <i class="icon-trash bigger-120"></i>删除
                    </a>
                </td>
            </tr>
        }



    </tbody>
</table>

@Html.AjaxPager1((int)ViewBag.PageSize, (int)ViewBag.TotalCount)